#ifndef OGLRENDER_H
#define OGLRENDER_H

#include <app/Application.h>
#include <app/modules/threadControl.h>
#include <mesh/mesh.h>
#include <render/output/window.h>


class OGLRender {
public:
    OGLRender ( Application* app, Window* win );
    void Draw ( Mesh& );
    void joinToMainCycle ();
    
private:
    Window* window;
    Application* app;

    void mainCycle ();
};

#endif
